home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
mint
/
shells
/
tcsh6033.zoo
/
tcsh-603.pl3
/
FAQ
< prev
next >
Wrap
Text File
|
1993-03-12
|
5KB
|
149 lines
Last Updated:
Thu Nov 12 22:43:19 EST 1992
This is for people that do not read the manual!
So far people who don't read manuals don't read this either... I may
call it README.*PLEASE* in the future, but then the same people won't
be able to get ftp it... :-)
1. Why is the meta key broken in tcsh-5.20 and up?
On some machines the tty is not set up to pass 8 bit characters by default.
Tcsh 5.19 used to try to determine if pass8 should be set by looking at
the terminal's meta key. Unfortunately there is no good way of determining
if the terminal can really pass 8 characters or not. Consider if you are
logged in through a modem line with 7 bits and parity and your terminal
has a meta key. Then tcsh 5.19 would set wrongly set pass8.
If you did like the previous behavior you can add in /etc/csh.login, or
in .login:
if ( $?tcsh && $?prompt ) then
if ( "`echotc meta`" == "yes" ) then
stty pass8
endif
endif
If you don't have pass8, maybe something like
stty -parity -evenp -oddp cs8 -istrip (rs6000)
or
stty -parenb -istrip cs8
would work..
2. I ran 'dbxtool &' and 'shelltool &' from tcsh, and they end up in cbreak
and no echo mode?
These programs are broken. Background jobs should not try to look at the
tty. What happens is that dbxtool looks in stderr to inherit the tty
setups, but tcsh sets up the tty in cbreak and -echo modes, so that it
can do line editing. This cannot be fixed because tcsh cannot give away
the tty. A work-around is:
dbxtool < /dev/null >& /dev/null &
or
/usr/etc/setsid dbxtool &
3. I tried to compile tcsh and it cannot find <locale.h>?
Your system does not support NLS. Undefine NLS in config_f.h and it
should work fine.
4. Where can I get csh sources?
Csh sources are now available with the 4.4BSD networking distributions.
You don't need csh sources to compile tcsh-6.00.
5. I just made tcsh my login shell, and I cannot ftp any more?
Newer versions of the ftp daemon check for the validity of the
user's shell before they allow logins. The list of valid login
shells is either hardcoded or it is usually in a file called
/etc/shells. If it is hard-coded, then you are out of luck and
your best bet is to get a newer version of ftpd. Otherwise add
tcsh to the list of shells. Remember that the full path is required.
If there is no /etc/shells, and you are creating one, remember to
add /bin/csh, /bin/sh, and any other valid shells for your system,
so that other people can ftp too :-)
6. I am using SunView/OpenWindows and editing is screwed up. In
particular my arrow keys and backspace don't work right. What
am I doing wrong?
Well, cmdtool tries to do its own command line editing and the
effect you get is one of using an editor inside an editor. Both
try to interpret the arrow key sequences and cmdtool wins since
it gets them first. The solutions are in my order of preference:
1 Don't use suntools
2 Use shelltool instead of cmdtool.
3 Unset edit in tcsh.
7. I rlogin to another machine, and then no matter what I tell 'stty'
I cannot get it to pass 8 bit characters?
Maybe you need to use 'rlogin -8' to tell rlogin to pass 8
bit characters.
8. Where do I get the public domain directory library?
Anonymous ftp to prep.ai.mit.edu:/pub/gnu/dirent.tar.Z
9. I compiled tcsh using gcc, and when I start up it says:
tcsh: Warning no access to tty (Invalid Argument).
Thus no job control in this shell
Your <sys/ioctl.h> file is not ansi compliant. You have one of 3 choices:
a. Run fixincludes from the gcc distribution.
b. Add -traditional to the gcc flags.
c. Compile with cc.
10. I compiled tcsh with the SunOS unbundled compiler and now things
get echo'ed twice.
It is a bug in the unbundled optimizer. Lower the optimization level.
11. How can I use the arrow keys with hpterm?
Hp terminals use the arrow keys internally. You can tell hpterm not
to do that, by sending it the termcap sequence smkx. Since this
has to be done all the time, the easiest thing is to put it as an
alias for precmd, or inside the prompt:
if ($term == "hp") then
set prompt="%{`echotc smkx`%}$prompt"
endif
Note that by doing that you cannot use pgup and pgdn to scroll...
12. On POSIX machines ^C and ^Z will do not work when tcsh is a login
shell?
Make sure that the interrupt character is set to ^C and suspend
is set to ^Z; 'stty -a' will show you the current stty settings;
'stty intr ^C susp ^Z' will set them to ^C and ^Z respectively.
13. I am trying to compile tcsh and I am getting compile errors that
look like:
>sh.c:???: `STR???' undeclared, outside of functions [gcc]
or
>"sh.c", line ???: STR??? undefined [cc]
You interrupted make, while it was making the automatically
generated headers. Type 'make clean; make'
14. On the cray, sometimes the CR/LF mapping gets screwed up.
You are probably logged in to the cray via telnet. Cray's
telnetd implements line mode selection, but many telnet
clients do not do that correctly, and the tty settings
do not get propagated correctly. You can either compile
a new telnet client (from the BSD net2 tape), or at least
on the suns use: 'mode character'.
christos
Everything else is a bug :-(